﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model;

namespace DAL.Mappings
{
    public class RoomMap:ClassMap<Room>
    {
        public RoomMap()
        {
            Id(x => x.Id);
            Map(x => x.RoomGroup);
            Map(x => x.Mark);
            References(x => x.Type);
            Map(x => x.Name);
            Map(x => x.Area);
        }
    }
}
